Component({
  properties: {
    detail: {
      type: Object,
      value: {}
    }
  },

  options: {
    styleIsolation: 'shared'
  },

  methods: {
    toWebCast(e) {
      wx.navigateTo({
        url: '/packageA/pages/liveDetails/liveDetails?activityId=' + e.currentTarget.dataset.id
      });
    },
    toDesign(e) {
      wx.navigateTo({
        url: '/packageA/pages/prepareLessonsDetails/prepareLessonsDetails?activityId=' + e.currentTarget.dataset.id
      });
    },
    toActivity(e) {
      wx.navigateTo({
        url: '/packageA/pages/researchDetails/researchDetails?activityId=' + e.currentTarget.dataset.id
      });
    }
  }
})
